.home {
  background-color: #F5F5F5;

  .home-search {
    box-sizing: border-box;
    padding: 0.26667rem 0.32rem;
    background-color: #fff;

    .home-search-content {
      height: 60px;
      background: #F5F5F5;
      border-radius: 30px;
      font-size: 24px;
      color: rgba(51, 51, 51, .7);
      display: flex;
      align-items: center;
      justify-content: center;

      /deep/ .van-icon {
        margin-right: 5px;
      }
    }
  }

  .home-cate {
    display: flex;
    justify-content: space-between;

    .home-cate-sideBar {
      width: 160px;
      flex-shrink: 0;
      overflow-y: scroll;

      /deep/ .van-sidebar {
        width: 100%;

        .van-sidebar-item {
          padding: 20px 10px;
          background-color: #F5F5F5;

          &.van-sidebar-item--select {
            background-color: #fff;

            &::before {
              background: linear-gradient(180deg, #FF8B3A 0%, #FF531B 100%);
            }
          }

          .van-sidebar-item__text {
            font-size: 12px;
          }
        }
      }
    }

    .home-cate-right {
      flex-grow: 1;
      overflow-y: scroll;

      .home-cate-brands {
        background-color: #fff;
        padding: 10px 0;
        min-height: 150px;
        position: relative;

        /deep/ .van-grid-item__content {
          padding: 0;
        }

        .home-brands-item {
          padding: 10px 0;
          padding-bottom: 0;
          border-radius: 10px;
          overflow: hidden;

          &.home-brands-item-active {
            .home-brands-item-img {
              border: 1px solid #F86535;

              &::after {
                content: '';
                width: 28px;
                height: 28px;
                position: absolute;
                right: 0;
                bottom: 0;
                background-size: cover;
                background-image: url(../images/brand-active.png);
              }
            }
          }

          .home-brands-item-img {
            width: 100px;
            height: 100px;
            background: #F5F5F5;
            border-radius: 7px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;

            img {
              width: 70%;
            }
          }

          &.home-brands-item-last {
            .home-brands-item-img {
              background-color: rgba(0, 0, 0, 0);
            }
          }

          .home-brands-item-name {
            font-size: 24px;
            font-family: PingFangSC-Regular,
              PingFang SC;
            font-weight: 400;
            color: #24232F;
            margin-top: 17px;
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 120px;
            padding: 5px;
            box-sizing: border-box;
          }
        }

        .home-cate-brands-row {
          margin-top: 20px;

          &:first-child {
            margin-top: 0;
          }
        }
      }

      .home-cate-goods {
        margin-top: 10px;
        position: relative;
        min-height: 173px;

        .home-cate-goods-none {
          font-size: 30px;
          color: #ccc;
          padding: 15px;
          text-align: center;
        }
      }
    }

  }
}

.g-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}